<h1>Formules List</h1>

<table>
  <thead>
    <tr>
      <th>Id categorie</th>
      <th>Id menu</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($formules as $formule): ?>
    <tr>
      <td><a href="<?php echo url_for('formule/show?id_categorie='.$formule->getIdCategorie().'&id_menu='.$formule->getIdMenu()) ?>"><?php echo $formule->getIdCategorie() ?></a></td>
      <td><a href="<?php echo url_for('formule/show?id_categorie='.$formule->getIdCategorie().'&id_menu='.$formule->getIdMenu()) ?>"><?php echo $formule->getIdMenu() ?></a></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('formule/new') ?>">New</a>
